package com.yidu.best.TA.Fundinventory.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.best.TA.Fundinventory.domain.Casharap;
import com.yidu.best.TA.Fundinventory.domain.CasharapInventory;
import com.yidu.best.TA.Fundinventory.domain.Fundinventory;
import com.yidu.best.TA.Fundinventory.domain.FundinventoryVo;
import com.yidu.best.basicSetup.accountset.domain.Account;
import com.yidu.best.basicSetup.fundset.domain.Fund;
import com.yidu.best.bond.cashInventory.domain.CashInventory;

public interface FundinventoryDao {
	List<Fundinventory> findFundinventory(FundinventoryVo fundinventoryVo);
	
	List<Fundinventory> find(String fundinventory);
	
	Account selectAccount(String fundId);
	
	Fund selectFund(String fundId);
	
	List<Casharap> selectcasharap(String fundId);
	
	Casharap findCasharap(String fundId);
	
	CashInventory findcashinventory(String fundId);
	
	CasharapInventory findCasharapinventory(@Param("fundId")String fundId,@Param("businessType")int businessType);
	
	int findCasharapinventoryto(int businessType);
	
	int findCountFundinventory(FundinventoryVo fundinventoryVo);
	
	int insertCashinventory(Casharap casharap);
	
	int insertCashinventoryinventory(CasharapInventory casharapInventory);
	
	int selectCountcashARAPinventory(@Param("fundId")String fundId,@Param("businessType")int businessType);
	
	int updateCashinventoryinventory(CasharapInventory casharapInventory);
	
	int addcasharap(Casharap casharap);
	
	int addcasharapinventory(CasharapInventory casharapInventory);
	
	int upCasharapinventory(CasharapInventory casharapInventory);
}
